package com.lhd.action.observer;

/**
 * @Author: liuhd
 * @Date: 2024/12/18 20:27
 * @Description:
 */
public class Client {
    public static void main(String[] args) {
        Up up = new ConcreteUp();
        up.addFan(new ConcreteFan("刘浩东"));
        up.addFan(new ConcreteFan("张玲玲"));
        up.notifyFans("up发布了一个新作品");

    }
}
